import request from '@/utils/request'

// 视频

// 视频列表
export const apiVideoList = (params: any) => {
    return request({
        method: 'GET', // 原代码是 GET
        url: '/mu/video_list',
        data: params // 根据你的示例格式，GET 请求参数放在 data 字段
    });
}

// 添加视频
export const apiVideoAdd = (params: any) => {
    return request({
        method: 'POST', // 原代码是 POST
        url: '/mu/add_video',
        data: params
    });
}

// 修改视频
export const apiVideoEdit = (params: any) => {
    return request({
        method: 'POST', // 原代码是 POST
        url: '/mu/edit_video',
        data: params
    });
}

// 删除视频
export const apiVideoDel = (params: any) => {
    return request({
        method: 'POST', // 原代码是 POST
        url: '/mu/del_video',
        data: params
    });
}